import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'huaweimap_method_channel.dart';

abstract class HuaweimapPlatform extends PlatformInterface {
  /// Constructs a HuaweimapPlatform.
  HuaweimapPlatform() : super(token: _token);

  static final Object _token = Object();

  static HuaweimapPlatform _instance = MethodChannelHuaweimap();

  /// The default instance of [HuaweimapPlatform] to use.
  ///
  /// Defaults to [MethodChannelHuaweimap].
  static HuaweimapPlatform get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [HuaweimapPlatform] when
  /// they register themselves.
  static set instance(HuaweimapPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> ohosMapSelectAddress() {
    throw UnimplementedError('ohosMapSelectAddress() has not been implemented.');
  }
  Future<String?> ohosAccountLogin(String marks) {
    throw UnimplementedError('ohosAccountLogin() has not been implemented.');
  }
  Future<String?> ohosMapMarker(String marks) {
    throw UnimplementedError('ohosMapMarker() has not been implemented.');
  }
  Future<String?> ohosMapTranceOverLay(String marks) {
    throw UnimplementedError('ohosMapTranceOverLay() has not been implemented.');
  }
}
